<table>
<thead>
<tr>
  <th>Name</th>
  <th>Version</th>
  <th>Bemerkung</th>

<?php $arr_fields = array(); $arr_fields = bwUtils::getAllAddFieldsDefinition(new Software());  ?>
<?php foreach($arr_fields as $value): ?>
<th><?php echo($value['definition']->getName()); ?></th>
<?php endforeach; ?>
<th></th>
  
</tr>
</thead>
<tbody>
<?php foreach ($software as $software_item): ?>
<tr>
    <td valign="top"><?php echo $software_item->getName() ?></td>
    <td valign="top"><?php echo $software_item->getVersion() ?></td>
    <td valign="top"><?php echo $software_item->getBemerkung() ?></td>

<?php $arr_fields = array(); $arr_fields = bwUtils::getAllAddFieldsDefinition($software_item);  ?>
<?php foreach($arr_fields as $value): ?>
<td><?php echo($value['content']->getContent()); ?></td>
<?php endforeach; ?>

    <td>(<?php echo link_to('E', 'softwareservices/showOverview?id='.$request_id.'&sid='.$software_item->getId().'&view=editSoftware') ?>)</td>
  </tr>
<?php endforeach; ?>
</tbody>
</table>

